#!/usr/bin/env node

const pi = Math.PI;

class Circle{
  constructor(radius){
    this.#r = radius;
  }
  get diameter(){
    return this.#r*2;
  }

  get circumference(){
    return pi*2*this.#r;
  }

  get area(){
    return pi*this.#r*this.#r;
  }

#r = 0;
}

module.exports = Circle;

console.log(module);
